//
//  MK_NetWorking+MK_HomePage_Working.h
//  miku直播
//
//  Created by 杨尚达 on 2017/7/26.
//  Copyright © 2017年 杨尚达. All rights reserved.
//

#import "MK_NetWorking.h"
#import "MK_HomeCategoryModel.h"
#import "MK_HomeSlideItem.h"
#import "MK_LivingRoomModel.h"
#import "MK_HotRoomModel.h"

///关于首页网络请求的分类
@interface MK_NetWorking (MK_HomePage_Working)

/**
 请求得到首页分类信息数据
 
 @param backBlock 成功回调
 @param failBlock 失败回调
 */
-(void)MK_getHomeCategoryModelArrWithBackBlock:(void(^)(NSArray<MK_HomeCategoryModel*>* res))backBlock andFailBlock:(void(^)(NSError *err))failBlock ;


/**
 获得首页轮播器的模型数据

 @param backBlock 成功回调
 @param failBlock 失败回调
 */
-(void)MK_getHomeSlideItemArrWithBackBlock:(void(^)(NSArray<MK_HomeSlideItem*>* res))backBlock andFailBlock:(void(^)(NSError *err))failBlock ;



/**
 得到推荐热门房间信息

 @param backBlock 成功回调
 @param failBlock 失败回调
 */
-(void)MK_getHotRoomDataWithBackBlock:(void(^)(NSArray<MK_HotRoomModel*>* res))backBlock andFailBlock:(void(^)(NSError *err))failBlock ;


/**
 得到其他分类热门房间

 @param ID 分类ID
 @param backBlock 成功回调
 @param failBlock 失败回调
 */
-(void)MK_GetCategoryHotDataWithID:(NSString*)ID andBackBlock:(void(^)(NSArray<MK_HotRoomModel*>* res))backBlock andFailBlock:(void(^)(NSError *err))failBlock ;
@end
